﻿@model Vms.Web.Models.PROGRAM
@{
    Vms.Web.Models.CONTENT_IMG image = new Vms.Web.Models.CONTENT_IMG();
    if(Model != null && Model.CONTENTS.Count != 0) {
        image = Model.CONTENTS.First().CONTENT_IMG.First();
    }
}

<div id="view2_img1" class="content-form">
    <table>
        <tr>
            <td style="height:25px;">
            </td>
            <td >
            </td>
                                    
        </tr>
            <tr>
            <td>
                 @Html.LabelFor(model=>image.Img_x)    
            </td>
            <td>
                 @Html.TextBoxFor(model => image.Img_x)                     
            </td>                                    
        </tr>
                               
            <tr>
            <td>
                 @Html.LabelFor(model => image.Img_y)    
            </td>
            <td>
                 @Html.TextBoxFor(model => image.Img_y)                     
            </td>
        </tr>
                             
            <tr>
            <td>
                 @Html.LabelFor(model => image.Img_Width)    
            </td>
            <td>
                 @Html.TextBoxFor(model => image.Img_Width)                     
            </td>
        </tr>
                                
        <tr>
            <td>
                 @Html.LabelFor(model => image.Img_Height)    
            </td>
            <td>
                 @Html.TextBoxFor(model => image.Img_Height)                     
            </td>
        </tr>

        <tr>
            <td>
                <label class="control-label" for="input01">Method</label>
            </td>
            <td >
                <select>
                    <option value="static">Static</option>
                    <option value="random">Random</option>                                          
                </select>   
                                          
            </td>
        </tr>
        <tr>
            <td>
                <label class="control-label" for="input01">Run Speed</label>
            </td>
            <td>
                <select>
                    <option value="static">1</option>
                    <option value="random">2</option>                                          
                </select>      
                                        
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <span id="btnCreate" class="btn btn-success fileinput-button" style="float: right;"">
                <i class="icon-plus icon-white"></i><span>images</span>
                </span>
               
                <div id="departmentdialog" title="Add Department" ></div>
            </td>
        </tr>
    </table>
    <div class="dialog"></div>  
</div><!-- End div#view2_img1  --> 
